package org.cptz.game.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 局
 * </p>
 *
 * @author cpt.z
 * @since 2022-08-07
 */
@Data
@EqualsAndHashCode
@Accessors(chain = true)
@ApiModel(value = "Match对象", description = "局")
@TableName("match")
public class Match implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("台号")
    private Long standId;

    @ApiModelProperty("南北分数")
    private Integer nsScore;

    @ApiModelProperty("东西分数")
    private Integer ewScore;

    @ApiModelProperty("状态 游戏中/结束")
    private String status;
}
